package com.heima.model.shop.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * partsTypeAttribute
 * </p>
 * @author itheima
 */
@Data
@TableName("tb_parts_type_attribute")
public class PartsTypeAttribute implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("分类属性id")
    @TableId(value = "id", type = IdType.AUTO)
	private Integer id; //分类属性id



    @ApiModelProperty("配件分类id")
    @TableField("parts_type_id")
	private Integer partsTypeId;//配件分类id

    @ApiModelProperty("表单类型")
    @TableField("form_type")
	private Integer formType;//表单类型

    @ApiModelProperty("属性名称")
    @TableField("name")
	private String name;//属性名称

    @ApiModelProperty("单位")
    @TableField("company")
	private String company;//单位

    @ApiModelProperty("可选项")
    @TableField("options")
	private String options;//可选项

    @ApiModelProperty("默认选项")
    @TableField("detail_option")
	private String detailOption;//默认选项

    @ApiModelProperty("是否搜索")
    @TableField("is_search")
	private Integer isSearch;//是否搜索

    @ApiModelProperty("是否必填")
    @TableField("is_must")
	private Integer isMust;//是否必填



}
